from django.http import HttpResponse

books_list = [
    '三国演义',
    '水浒传',
    '西游记',
    '红楼梦'
]


def index(request):
    return HttpResponse('图书首页')


def books(request, page=0):
    text = books_list[page]
    return HttpResponse(text)
